package com.xkstream.client.presenter.kt

import com.xkstream.client.base.BaseData
import com.xkstream.client.base.BasePresenter
import com.xkstream.client.base.BaseView
import com.xkstream.client.entity.kt.GainsData
import com.xkstream.client.entity.kt.GiftRankingData

/**
 * Created by xiaoyi on 2017-11-2.
 */
interface GainsRecorderContract {
    interface Presenter : BasePresenter {
        fun getGiftRanking(params: Map<String, Any>)

        fun getTodayGains(params: Map<String, Any>)
        fun getGainsData(params: Map<String, Any>)
    }

    interface View : BaseView<Presenter> {
        fun showGiftRanking(data: BaseData<GiftRankingData>)
        fun showError(message: String)
        fun showTodayGains(t: BaseData<GainsData>)
        fun showGainsData(t: GainsData)
    }
}